package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AiRequest", description = "ai试穿请求对象")
public class AiRequest {

    @ApiModelProperty(value = "商品规格主键id")
    @NotNull(message = "商品id不能为空")
    private Integer id;

    @ApiModelProperty(value = "模特图片地址")
    @NotBlank(message = "模特图片地址不能为空")
    private String modelImgUrl;

    @ApiModelProperty(value = "模特类型(0男  1女  2童)")
//    @NotNull(message = "模特类型不能为空")
    private Integer modelType;

    @ApiModelProperty(value = "模特试穿衣服后的url")
    private String modelTryOnUrl;

    @ApiModelProperty(value = "商品规格主键id集合")
    private List<Integer> idList;
}
